﻿// Decompiled with JetBrains decompiler
// Type: StoryMode.ConspiracyQuestMapNotification
// Assembly: StoryMode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 11BAE65F-6C15-4628-A9C6-1B968588CDA1
// Assembly location: D:\steam\steamapps\common\Mount & Blade II Bannerlord\Modules\StoryMode\bin\Win64_Shipping_Client\StoryMode.dll

using System.Collections.Generic;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using TaleWorlds.Localization;
using TaleWorlds.SaveSystem;

#nullable disable
namespace StoryMode
{
  public class ConspiracyQuestMapNotification : InformationData
  {
    public override TextObject TitleText => new TextObject("{=f3NvtzpE}Conspiracy Quest Available");

    public override string SoundEventPath => "";

    [SaveableProperty(1)]
    public QuestBase ConspiracyQuest { get; private set; }

    public ConspiracyQuestMapNotification(QuestBase conspiracyQuest, TextObject descriptionText)
      : base(descriptionText)
    {
      this.ConspiracyQuest = conspiracyQuest;
    }

    internal static void AutoGeneratedStaticCollectObjectsConspiracyQuestMapNotification(
      object o,
      List<object> collectedObjects)
    {
      ((InformationData) o).AutoGeneratedInstanceCollectObjects(collectedObjects);
    }

    protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
    {
      base.AutoGeneratedInstanceCollectObjects(collectedObjects);
      collectedObjects.Add((object) this.ConspiracyQuest);
    }

    internal static object AutoGeneratedGetMemberValueConspiracyQuest(object o)
    {
      return (object) ((ConspiracyQuestMapNotification) o).ConspiracyQuest;
    }
  }
}
